//
//  SNRepairTypeModel.m
//  app
//
//  Created by 王少宁 on 15/8/31.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//

#import "SNRepairTypeModel.h"

@implementation SNRepairTypeModel

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if ([super init]) {
        _option_name = dict[@"option_name"];
        _option_value = dict[@"option_value"];
        _com_id = dict[@"com_id"];
        _root_id = dict[@"root_id"];
    }
    return self;
}

+ (instancetype)modelWithDict:(NSDictionary *)dict
{
    return [[self alloc] initWithDict:dict];
}

@end
